﻿@model ProductDetailsModel.ProductBreadcrumbModel
@using Nop.Web.Models.Catalog;
<div class="breadcrumb">
    <div class="breadkcrumb-innder">

        <ul>
            @* @Html.Widget("productbreadcrumb_before")*@
            

            <li><a href="@Url.RouteUrl("HomePage")" title="@T("Categories.Breadcrumb.Top")">@T("Products.Breadcrumb.Top")</a>
                <span class="delimiter">/</span> </li>
            @for (int i = 0; i < Model.CategoryBreadcrumb.Count; i++)
            {
                var catBr = Model.CategoryBreadcrumb[i];
                <li><a href="@Url.RouteUrl("Category", new { SeName = catBr.SeName })" title="@catBr.Name">@catBr.Name</a>
                    @if (i != Model.CategoryBreadcrumb.Count - 1)
                    {
                        
                        <span class="delimiter">/</span>
                    }</li>
            }

            @*uncomment to disable clickable link
        <strong>@Model.ProductName</strong>*@
            @*<li>
                <strong><a href="@Url.RouteUrl("Product", new { SeName = Model.ProductSeName })">@Model.ProductName</a></strong>
              @*  @Html.Widget("productbreadcrumb_after")
            </li>*@
        </ul>
        <div class="breadcrumb-p">
                <strong><a  class="breadcrumb-pa" href="@Url.RouteUrl("Product", new { SeName = Model.ProductSeName })">@Model.ProductName</a></strong>
        </div>
    </div>

</div>
